package com.sora.test;

import com.sora.annotation.Service;
import com.sora.api.HelloObject;
import com.sora.api.HelloService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @Classname: HelloServiceImpl
 * @Description:
 * @Author: Stonffe
 * @Date: 2023/4/29 0:07
 */
@Service
public class HelloServiceImpl implements HelloService {
    public static final Logger logger = LoggerFactory.getLogger(HelloServiceImpl.class);

    @Override
    public String hello(HelloObject object) {
        logger.info("接收到消息：{}",object.getMessage());
        return "这是Impl1方法";
    }
}
